package online.heycm.rbac.domain.basic.repository.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 系统参数配置
 *
 * @author heycm
 * @since 2024-01-11
 */
@Data
@TableName("basic_param_cfg")
public class BasicParamCfg implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 参数id
     */
    @TableId(value = "param_id", type = IdType.AUTO)
    private Integer paramId;

    /**
     * 参数前缀
     */
    private String paramPrefix;

    /**
     * 参数名称
     */
    private String paramName;

    /**
     * 参数值
     */
    private String paramValue;

    /**
     * 参数说明
     */
    private String remark;

    @TableField(fill = FieldFill.INSERT)
    private Date createdAt;
}
